immutable class TUP{T1,T2,T3,T4} < $HASH, $STR


Flattened version is here

Ancestors
$STR $HASH $IS_EQ COMPARE{_}



Public


Readable Attributes
attr t1:T1;
attr t2:T2;
attr t3:T3;
attr t4:T4;

Writable Attributes
attr t1:T1;
attr t2:T2;
attr t3:T3;
attr t4:T4;

Features
create(at1:T1, at2:T2, at3:T3, at4:T4):SAME
hash:INT
**** A simple hash value computed from the hash values of the components. For this to work, these must either be value types which define hash values or reference types.
is_eq(e:SAME):BOOL
**** True if the components of self and `e' are equal.
str: STR


Private


The Sather Home Page